﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities;

namespace Controller
{
    public delegate void GetQueryInformationEventHandler(GetQueryInformationEventArgs e);
    public class GetQueryInformationEventArgs
    {
        public TableInformation Result { private set; get; }
        public Exception exception { private set; get; }

        public GetQueryInformationEventArgs(TableInformation result) 
        {
            Result = result;
        }

        public GetQueryInformationEventArgs(Exception ex)
        {
            exception = ex;
        }

    }
}
